package com.niiwoo.civet.mobile.vo.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * Created by ace on 2017/9/25.
 */
@Setter
@Getter
@ApiModel
public class LoanApplyDTO {
    @NotNull(message = "amount不能为空")
    @ApiModelProperty(value = "申请金额", required = true)
    private BigDecimal amount;
    @NotNull(message = "days不能为空")
    @ApiModelProperty(value = "借款天数", required = true)
    private Integer days;
}
